package cn.wangzengqiang.study.designpattern.factory.own.b;

import cn.wangzengqiang.study.designpattern.factory.own.a.Hele;

public class HeleStore {
    private SimpleHeleFactory factory;

    public HeleStore(SimpleHeleFactory factory) {
        this.factory = factory;
    }

    public Hele sellHele(String type) {
        Hele hele = factory.createHele(type);
        hele.huoMian();
        hele.xiaMian();
        hele.putMutton();
        hele.putSeasoning();
        hele.putSoup();
        return hele;

    }
}
